package com.wh.wisdomsite.xbox.us.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工资质证书实体
 *
 * @version V1.0
 * @Package: com.wh.wisdomsite.xbox.us.entity
 * @author: 丁奕
 * @date: 2018-08-08 17:16
 * @Copyright 公司版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2016
 **/
public class EmployeeCert extends Model<EmployeeCert> {


    /**
     *PK, 员工资质证书ID
     */
    @TableId(type = IdType.UUID)
    private String emceId;

    /**
     *FK, 员工ID
     */
    @TableField("emId")
    private String emId;

    /**
     *证书名称
     */
    @TableField("certName")
    private String certName;

    /**
     *证书编号
     */
    @TableField("certNum")
    private String certNum;

    /**
     *证书类型, 字典配置 
     */
    @TableField("certType")
    private String certType;

    /**
     *证书附件, 公共附件 
     */
    @TableField("certFile")
    private String certFile;

    /**
     *创建者
     */
    @TableField("createBy")
    private String createBy;

    /**
     *创建时间
     */
    @TableField("createDate")
    private Date createDate;

    public String getEmceId() {
        return emceId;
    }

    public void setEmceId(String emceId) {
        this.emceId = emceId;
    }

    public String getEmId() {
        return emId;
    }

    public void setEmId(String emId) {
        this.emId = emId;
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName;
    }

    public String getCertNum() {
        return certNum;
    }

    public void setCertNum(String certNum) {
        this.certNum = certNum;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public String getCertFile() {
        return certFile;
    }

    public void setCertFile(String certFile) {
        this.certFile = certFile;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.emceId;
    }
}
